package com.tanhua.dubbo.api;

import com.tanhua.model.enums.CommentType;
import com.tanhua.model.mongo.Comment;
import com.tanhua.model.mongo.Video;
import com.tanhua.model.vo.PageResult;

import java.util.List;

public interface VideoApi {

    /**
     * 保存小视频
     */
    String save(Video video);

    List<Video> findMovementsByVids(List<Long> vids);

    List<Video> queryVideoList(int i, Integer pagesize);

    PageResult findByUserId(Integer page, Integer pagesize, Long uid);

    void findUpdateByid(String id);

    void sendComments(Comment newcomment);

    List findComments(String id, Integer page, Integer pagesize);
}